﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QuanLyKhachSanBUS.QuanLyKhachSanDAO;

namespace QuanLyKhachSanBUS.BUS
{
    public class LoaiPhongBUS
    {
        private QuanLyKhachSanDAO.Service1SoapClient ws = new Service1SoapClient();
        public LoaiPhongDTO[] LayDanhSachLoaiPhong()
        {
            LoaiPhongDTO[] lphong= ws.LayDanhSachLoaiPhong();
            return lphong;
        }
        public LoaiPhongDTO  LayLoaiPhongTheoMa(int malp)
        {
            LoaiPhongDTO lphong = ws.LoaiPhongTheoMa(malp);
            return lphong;
        }
    }
}